USE [Veteran_cms]
GO

/****** Object:  Table [dbo].[multimedia_set]    Script Date: 09/08/2012 11:06:48 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

AlTER TABLE [dbo].[multimedia_set](
	[set_id] [int] IDENTITY(1,1) NOT NULL,
	[slug] [nvarchar](255) NULL,
	[title] [nvarchar](255) NOT NULL,
	[description] [ntext] NULL,
	[created_date] [datetime] NOT NULL,
	[updated_date] [datetime] NULL,
	[created_user_id] [int] NULL,
	[created_user_name] [nvarchar](255) NULL,
	[num_views] [int] NULL,
	[num_comments] [int] NULL,
	[is_active] [bit] NOT NULL,
	[image_square] [ntext] NULL,
	[image_thumbnail] [ntext] NULL,
	[image_small] [ntext] NULL,
	[image_crop] [ntext] NULL,
	[image_medium] [ntext] NULL,
	[image_large] [ntext] NULL,
 CONSTRAINT [PK__multimedia_set__571DF1D5] PRIMARY KEY CLUSTERED 
(
	[set_id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO

ALTER TABLE [dbo].[multimedia_set] ADD  CONSTRAINT [DF__multimedi__num_v__5812160E]  DEFAULT ((0)) FOR [num_views]
GO

ALTER TABLE [dbo].[multimedia_set] ADD  CONSTRAINT [DF__multimedi__num_c__59063A47]  DEFAULT ((0)) FOR [num_comments]
GO

ALTER TABLE [dbo].[multimedia_set] ADD  CONSTRAINT [DF__multimedi__is_ac__59FA5E80]  DEFAULT ((1)) FOR [is_active]
GO


